package dao.Impl;

import dao.ManagerDao;
import po.College;
import po.Course;
import po.Manager;
import po.Student;
import util.DBUtils;
import util.DaoRepeat;

import java.sql.SQLException;
import java.util.List;

public class ManagerDaoImpl  extends BaseDaoImpl<Manager> implements ManagerDao {
    @Override
    public Manager queryStudentByNameAndPassword(String username, String password) {
        Manager manager = queryOne("select * from Manager where username=? and password=?", Manager.class, username, password);
        return  manager;
    }


}
